<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main {
            margin: 100px auto;
            border: 1px red solid;
            width: 1000px;
            height: 200px;
        }

        input {
            margin-top: 12px;
        }
    </style>
</head>
<body>
<div class="main">
    <form
            action="http://localhost:8080/jdbc/PlusServlet"
            method="post"
            id="formID"
            enctype="UTF-8"
    >
        <div>加法计算器</div>
        <div>加数1 ： <input type="number" maxlength="10" value="2" name="param1"/>  <!--value:默认值--></div>
        <div>加数2 ： <input type="number" maxlength="10" value="3" name="param1"/>  <!--value:默认值--></div>
        <input type="submit" value="计算"/>
    </form>

</div>
</body>
</html>